Setting the mouse event that triggers the behavior

The final step is to set the pointer action that will trigger the Swap Image behavior.

To set the pointer action that triggers a disjoint rollover:

1 Select the Web object that triggers the rollover.
2 In the Behaviors inspector, choose the Swap Image behavior from the Actions list.
3 Choose an event for the Swap Image behavior from the Events pop-up menu:
onMouseOver triggers the event when the pointer moves over the event area.
onMouseOut triggers the event when the pointer moves out of the event area.
onClick triggers the event when you click the event area.